package com.xrtn.mapper;

import com.xrtn.bean.TSubclinicInfo;

import java.util.List;
import java.util.Map;

public interface TSubclinicInfoMapper {
    int deleteByPrimaryKey(Integer subclinicId);

    int insert(TSubclinicInfo record);

    int insertSelective(TSubclinicInfo record);

    TSubclinicInfo selectByPrimaryKey(Integer subclinicId);
    TSubclinicInfo selectMaxEntTime(Map<String, Object> params);
    /**
     * 获取门店列表
     *
     * @param params
     * @return
     */
    List<TSubclinicInfo> selectByMap(Map<String, Object> params);

    int updateByPrimaryKeySelective(TSubclinicInfo record);

    int updateByPrimaryKey(TSubclinicInfo record);

    int updateOwner(Map<String, Object> params);
}